﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUGCOME.Model.Auth
{
    /// <summary>
    /// team_member
    /// </summary>
    [SugarTable("team_member", "团队成员表")]
    [Tenant("0")]
    public class TeamMember
    {
        /// <summary>
        /// 团队用户id
        /// </summary>
        public long TeamUserId { get; set; }

        /// <summary>
        /// 个人用户id
        /// </summary>
        public long IndividualUserId { get; set; }

        /// <summary>
        /// 加入时间
        /// </summary>
        public DateTime JoinDate { get; set; }

        /// <summary>
        /// 是否为主管理员
        /// </summary>
        public bool IsPrimaryAdmin {  get; set; }

        /// <summary>
        /// 管理员级别(1-3)
        /// </summary>
        public int AdminLevel { get; set; }


        /// <summary>
        /// 帐号状态（0停用 1正常）
        /// </summary>
        public int Status { get; set; }

    }
}
